package com.westos.userauth.domain;

import java.util.Date;

//组织关系
public class PartyRelationship {


    //组织外键id（来自）
    private String partyIdFrom;
    //组织外键id（去）
    private String partyIdTo;
    //中间表类型id
    private String roleTypeIdFrom;
    //中间表类型id
    private String roleTypeIdTo;
    //起始时间
    private Date fromDate;
    //时间
    private Date thruDate;
    //状态id
    private String statusId;
    //关系名称
    private String relationshipName;
    //权限组id
    private String securityGroupId;
    //优先级类型id
    private String priorityTypeId;
    //组织关系类型id
    private String partyRelationshipTypeId;
    //允许枚举id
    private String permissionsEnumId;
    //定位标题
    private String positionTitle;
    //评论
    private String comments;
    //上一个更新日期时间戳
    private Date lastUpdatedStamp;
    //创建日期时间戳
    private Date createdStamp;


    public PartyRelationship() {
    }

    public PartyRelationship(String partyIdFrom, String partyIdTo, String roleTypeIdFrom, String roleTypeIdTo, Date fromDate, Date thruDate, String statusId, String relationshipName, String securityGroupId, String priorityTypeId, String partyRelationshipTypeId, String permissionsEnumId, String positionTitle, String comments, Date lastUpdatedStamp, Date createdStamp) {
        this.partyIdFrom = partyIdFrom;
        this.partyIdTo = partyIdTo;
        this.roleTypeIdFrom = roleTypeIdFrom;
        this.roleTypeIdTo = roleTypeIdTo;
        this.fromDate = fromDate;
        this.thruDate = thruDate;
        this.statusId = statusId;
        this.relationshipName = relationshipName;
        this.securityGroupId = securityGroupId;
        this.priorityTypeId = priorityTypeId;
        this.partyRelationshipTypeId = partyRelationshipTypeId;
        this.permissionsEnumId = permissionsEnumId;
        this.positionTitle = positionTitle;
        this.comments = comments;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }

    public String getPartyIdFrom() {
        return partyIdFrom;
    }

    public void setPartyIdFrom(String partyIdFrom) {
        this.partyIdFrom = partyIdFrom;
    }

    public String getPartyIdTo() {
        return partyIdTo;
    }

    public void setPartyIdTo(String partyIdTo) {
        this.partyIdTo = partyIdTo;
    }

    public String getRoleTypeIdFrom() {
        return roleTypeIdFrom;
    }

    public void setRoleTypeIdFrom(String roleTypeIdFrom) {
        this.roleTypeIdFrom = roleTypeIdFrom;
    }

    public String getRoleTypeIdTo() {
        return roleTypeIdTo;
    }

    public void setRoleTypeIdTo(String roleTypeIdTo) {
        this.roleTypeIdTo = roleTypeIdTo;
    }

    public Date getFromDate() {
        return fromDate;
    }

    public void setFromDate(Date fromDate) {
        this.fromDate = fromDate;
    }

    public Date getThruDate() {
        return thruDate;
    }

    public void setThruDate(Date thruDate) {
        this.thruDate = thruDate;
    }

    public String getStatusId() {
        return statusId;
    }

    public void setStatusId(String statusId) {
        this.statusId = statusId;
    }

    public String getRelationshipName() {
        return relationshipName;
    }

    public void setRelationshipName(String relationshipName) {
        this.relationshipName = relationshipName;
    }

    public String getSecurityGroupId() {
        return securityGroupId;
    }

    public void setSecurityGroupId(String securityGroupId) {
        this.securityGroupId = securityGroupId;
    }

    public String getPriorityTypeId() {
        return priorityTypeId;
    }

    public void setPriorityTypeId(String priorityTypeId) {
        this.priorityTypeId = priorityTypeId;
    }

    public String getPartyRelationshipTypeId() {
        return partyRelationshipTypeId;
    }

    public void setPartyRelationshipTypeId(String partyRelationshipTypeId) {
        this.partyRelationshipTypeId = partyRelationshipTypeId;
    }

    public String getPermissionsEnumId() {
        return permissionsEnumId;
    }

    public void setPermissionsEnumId(String permissionsEnumId) {
        this.permissionsEnumId = permissionsEnumId;
    }

    public String getPositionTitle() {
        return positionTitle;
    }

    public void setPositionTitle(String positionTitle) {
        this.positionTitle = positionTitle;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getLastUpdatedStamp() {
        return lastUpdatedStamp;
    }

    public void setLastUpdatedStamp(Date lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Date getCreatedStamp() {
        return createdStamp;
    }

    public void setCreatedStamp(Date createdStamp) {
        this.createdStamp = createdStamp;
    }
}
